summaryrefslogtreecommitdiff
path: root/src/pages/shop/product/[slug].js
diff options
context:
space:
mode:
authorRafi Zadanly <rafizadanly@gmail.com>2022-12-15 16:37:45 +0700
committerRafi Zadanly <rafizadanly@gmail.com>2022-12-15 16:37:45 +0700
commit4a615aae5f29ed8c0ad3631a8510df57b80cae94 (patch)
treea3dced877ba73e4cd5907076cbcfa2fe369bc33d /src/pages/shop/product/[slug].js
parent2c58745807110ba234e1a9ec939457e641fff469 (diff)
feature checbox add to process in cart
Diffstat (limited to 'src/pages/shop/product/[slug].js')
-rw-r--r--src/pages/shop/product/[slug].js8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/pages/shop/product/[slug].js b/src/pages/shop/product/[slug].js
index cabda175..9bb76fb6 100644
--- a/src/pages/shop/product/[slug].js
+++ b/src/pages/shop/product/[slug].js
@@ -140,7 +140,13 @@ export default function ProductDetail({ product }) {
<div className="flex gap-x-2 mt-2">
<button className="btn-light w-full">+ Quotation</button>
- <button className="btn-yellow w-full" onClick={addItemToCart} disabled={(product.lowest_price.price == 0 ? true : false)}>+ Keranjang</button>
+ <button
+ className="btn-yellow w-full"
+ onClick={addItemToCart}
+ disabled={(product.lowest_price.price == 0 ? true : false)}
+ >
+ + Keranjang
+ </button>
</div>
<div className="mt-10">